<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<head>
<base href="<%=basePath%>"/>
<title>soda教育</title>
<link href="qiantai/css/style.css" type="text/css" rel="stylesheet" />
<link href="qiantai/css/single.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="qiantai/js/banner1.js"></script>
</head>

<body>
<iframe style="width:100%;height:236px" scrolling="no" frameborder="0" src="qiantai/header.jsp"></iframe>

<div class="content">
   
   <div class="clear"></div>
   <div class="buyDiv">
   
   	<div class="buyHeader">
   		<h1>课程信息</h1>
   		<div class="innerDiv" onclick="history.back();">返回</div>
   	</div>
   
   
   	<div class="infoBody">
    	<fieldset class="infoField">
        	<legend style="color:#DE3237;" align="left">课程信息</legend>
               <form>
               <table class="registTable">
               <tr>
               	<td align="right" style="width:30%;">课程名称:</td>
                <td align="left">${course.couName}</td>
                <td align="right">课程类型:</td>
                <c:if test="${course.couType==1}">
                <td align="left">现场授课</td>
                </c:if>
                 <c:if test="${course.couType==0}">
                <td align="left">在线视频</td>
                </c:if>
               </tr>
               <tr>
               	<td align="right">课程价格:</td>
                <td align="left">${course.couMoney}</td>
                <td align="right">课程状态:</td>
                <c:if test="${course.couState==1}">
                <td align="left">可报名</td>
                </c:if>
                
                <c:if test="${course.couState==2}">
                <td align="left">报名结束</td>
                </c:if>
                
                 <c:if test="${course.couState==3}">
                <td align="left">可购买</td>
                </c:if>
                
                 <c:if test="${course.couState==4}">
                <td align="left">不可购买</td>
                </c:if>
                
               </tr>
               <tr>
               	<td align="right">开课时间:</td>
                <td align="left">${course.couOpentime}</td>
                <td align="right">结课时间:</td>
                <td align="left">${course.couEndtime}</td>
               </tr>
               <tr>
               	<td align="right">课程讲师:</td>
                <td align="left">${course.user.useName}</td>
                
                <c:if test="${course.couType==0}">
                <td align="right">视频资源:</td>
                <c:if test="${course.couVideo!=null }">
                <td align="left"><a href="<%=basePath %>DownloadServlet?&ci=${course.couVideo}">${course.couName}</a></td>
               	</c:if>
               	
               	<c:if test="${course.couVideo==null }">
                <td align="left"><a>${course.couName}</a></td>
               	</c:if>
               	
               	
               </c:if>
               </tr>
               <tr>
               	<td align="right">备注信息:</td>
                <td align="left" colspan="3">
                	<textarea cols="30" rows="4" style="resize:none; font-size: 13px;">${course.couRemark}
                    </textarea>
                </td>
               </tr>
               </table>
               </form>
         </fieldset>
    </div>
   </div>
   <div class="clear"></div><!--清除浮动-->
</div><!--content end-->



<div class="footer">
   <ul>
     
       
       <li class="li_left">地址：北京海淀区成府路**号</li>
       <li class="li_right">联系电话：010-82365636</li>
   </ul>
</div><!--footer end-->
<div style="display:none"><script src='http://v7.cnzz.com/stat.php?id=155540&web_id=155540' language='JavaScript' charset='gb2312'></script></div>
</body>
</html>